package com.cxz.study.infra.inbound.controller.mapper;

import com.cxz.study.application.order.web.OrderVO;
import com.cxz.study.domain.order.command.CreateOrderCommand;
import com.cxz.study.dto.CreateOrderReq;
import com.cxz.study.dto.CreateOrderResp;
import org.mapstruct.Mapper;

/**
 * @className: OrderMapperStruct
 * @author: ocxz1
 * @date: 2025/6/15 下午3:51
 * @Version: 1.0
 * @description: ddd-struct3
 */
@Mapper
public interface OrderApiMapperStruct {

    CreateOrderCommand toCreateOrderCommand(CreateOrderReq req);

    CreateOrderResp toCreateOrderResp(OrderVO orderVO);
}

    
    